extends Control



# Declare member variables here. Examples:
# var a = 2
# var b = "text"


# Called when the node enters the scene tree for the first time.
func _ready():
#	CommonSignals.connect("ToMainMenu",self,"_on_ToMainMenu")
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass


func _on_ExitBtn_pressed():
	get_tree().quit()


func _on_StartBtn_pressed():
	var main = load("res://Scns/Main.tscn").instance()
	add_child(main)
#	self.visible = false
	
func _on_ToMainMenu():
#	var main = get_node("Main")
#	if main != null:
#		main.queue_free()
#		main=null
#		pass
	pass
